﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;

namespace Kevin.Controls
{
    public partial class KevinRequeiredValidator : KevinValidatorBase
    {
        public KevinRequeiredValidator():base()
        {
           
        }

        public KevinRequeiredValidator(IContainer container)
            : base(container)
        {
           
        }

        protected override bool ValidateProcess()
        {
            string strValue = base.ControlToValidat.Text.Trim();
            return (!string.IsNullOrEmpty(strValue));
        }
    }
}
